package trocabi.DAO;

import java.util.ArrayList;
import trocabi.Socle.TechnicalException;

public abstract class DAO<list_t, t> {

    // public abstract boolean bCreate(t tobjet);
    
    public abstract t get(long id)  throws TechnicalException;
    
    public abstract long insert(t tobjet) throws TechnicalException;

    public abstract boolean bDelete(long iNumero_Objet);

    public abstract void update(t tobjet) throws TechnicalException;
   //  public abstract boolean bUpdate(ArrayList<String[]> listListeUpdate, ArrayList<String[]> listListeConditions) throws TechnicalException ;

    public abstract list_t listSelect(ArrayList<String[]> listListeConditions, ArrayList<String[]> listListeInfos_Affichees, int iLimite) throws TechnicalException;

    // public abstract long iNumero();
}
